package com.creating.mict.service.impl;

import java.util.ArrayList;
import java.util.List;

import javax.annotation.Resource;

import com.creating.mict.dao.XtyDao;
import com.creating.mict.dao.XyjDao;
import com.creating.mict.domain.XtyRecord;
import com.creating.mict.domain.XyjRecord;
import com.creating.mict.service.IAndroidService;

public class AndroidServiceImpl implements IAndroidService{

	@Resource
	private XyjDao xyjDao;
	@Resource
	private XtyDao xtyDao;
	
	@Override
	public List<XyjRecord> produceBloodPressureToChart(String fbtime,
			String fetime, String fphone1) {
		List<XyjRecord> list = new ArrayList<XyjRecord> ();
		list = xyjDao.produceXyjToChart(fbtime, fetime, fphone1);
		return list;
	}

	@Override
	public List<XtyRecord> produceXTBeforeLunchToChart(String fbtime,
			String fetime, String fphone1) {
		List<XtyRecord> list = new ArrayList<XtyRecord> ();
		list = xtyDao.produceXtyToChart0(fbtime, fetime, fphone1);
		return list;
	}

	@Override
	public List<XtyRecord> produceXTAfterLunchOneHourToChart(String fbtime,
			String fetime, String fphone1) {
		List<XtyRecord> list = new ArrayList<XtyRecord> ();
		list = xtyDao.produceXtyToChart1(fbtime, fetime, fphone1);
		return list;
	}

	@Override
	public List<XtyRecord> produceXTAfterLunchTwoHoursToChart(String fbtime,
			String fetime, String fphone1) {
		List<XtyRecord> list = new ArrayList<XtyRecord> ();
		list = xtyDao.produceXtyToChart2(fbtime, fetime, fphone1);
		return list;
	}



	

}
